package com.hyx.bookManager.service;

import com.hyx.bookManager.domain.common.CommonResult;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    public CommonResult loginUser(String ammount, String password);

    public CommonResult registerUser(Integer Code, String name, String password, String email);

    public CommonResult getCode(String email);

    public CommonResult getAllUser();

    public CommonResult getCurrentUser();
}
